import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.PriorityQueue;

/**
 * 第四个java类
 *
 * @author yuxiao05@meituan.com
 * @create 2016-06-30 上午10:30
 */

public class Fourth {
  public static void main(String[] args){

    /*int a = 2;
    int b = 3;

    String name = "yuxiao";

    PriorityQueue<Integer> queue = new PriorityQueue<Integer>();
    LinkedList<String> list = new LinkedList<String>();

    LinkedHashMap<Integer, String> hashMap = new LinkedHashMap<Integer, String>();

    int middle = (a + b) >>> 1;
    System.out.println(middle);*/

    float[] a = new float[]{-0.2f,2.4f,4,6.1f,1.2f,-3.4f,-1.3f,3.5f};
    Arrays.sort(a);

    for (float i : a) {
      System.out.println(i);
    }

  }

}
